﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Lian
{
    public partial class WebForm5 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            using (Model1 db = new Model1())
            {
                var a = db.TBUser.FirstOrDefault(b => b.Id == "a1");
                Image1.ImageUrl = a.Avatar;
            }
        }
    }
}